package com.lp.mgt.services;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

import com.lp.mgt.entities.Menu;
import com.lp.mgt.entities.User;

public interface MenuService {

	/*List<Menu> selectMenusByUser(User currentUser);*///暂时弃用

	List<Menu> selectMenuList(Menu menu);
	
	List<Menu> getAllMenus2LoadTreeWithRoleId(String roleId);

	Boolean changeMenusWithRoleId(String roleId, List<Menu> nodes);

	Map<String,Object>  moveUp(Menu menu);

	Boolean removeMenuByMenuId(String menuId);

	Boolean saveMenu(Menu menu);

	Boolean editMenu(Menu menu);

}
